package com.assignwork.dto;

import com.assignwork.vo.DailySafeInfoVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

/**
 * @ClassName DailySafeInfoSubmitDTO
 * @Description 每日安全告知提交DTO
 * @Author dujianyu
 * @Date 2023/12/24 17:33
 */
@Data
public class DailySafeInfoSubmitDTO {

    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE)
    @ApiModelProperty(value = "日期")
    private LocalDate infoDate;

    @ApiModelProperty(value = "信息")
    private List<DailySafeInfoVO> safeInfo;

}
